<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>control::Linearize</title>
  <meta http-equiv='Content-type' content='text/html;charset=UTF-8' />
  <link rel='stylesheet' type='text/css' href='../style.css'/>
</head>
<body>
<p>
  <a href='../index.html'>
    <img src='../logo.png' alt='Sedona'/>
  </a>
</p>
<div class='nav'>
  <a href='../index.html'>Index</a> |
  <a href='../api.html'>Kits</a> |
  <a href='index.html'>control</a>
</div>
<h1 class='title'>control::Linearize</h1>
<hr/>
<pre class='inheritance'><a href='../sys/Obj.html'>sys::Obj</a>
  <a href='../sys/Virtual.html'>sys::Virtual</a>
    <a href='../sys/Component.html'>sys::Component</a>
      control::Linearize
</pre>
<em>public </em> class <b>Linearize</b>  [niagaraIcon=&#x22;module://icons/x16/control/util/xy.png&#x22;]<br>
<hr/>
<p>Converts a table of values into a curve using linear interpolation between&#xa;the values</p>
<hr/>
<dl>
<dt>b01</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float b01</b>

</code></p>
</dd>
<dt>b12</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float b12</b>

</code></p>
</dd>
<dt>b23</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float b23</b>

</code></p>
</dd>
<dt>b34</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float b34</b>

</code></p>
</dd>
<dt>b45</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float b45</b>

</code></p>
</dd>
<dt>b56</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float b56</b>

</code></p>
</dd>
<dt>b67</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float b67</b>

</code></p>
</dd>
<dt>b78</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float b78</b>

</code></p>
</dd>
<dt>b89</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float b89</b>

</code></p>
</dd>
<dt>changed</dt>
<dd><p class='sig'><code><em><em>public</em> <em>virtual</em> <em>override</em> </em><b>void changed(<a href='../sys/Slot.html'>Slot</a> slot)</b>

</code></p>
</dd>
<dt>convert</dt>
<dd><p class='sig'><code><em><em>public</em> <em>virtual</em> </em><b>void convert(float m, float b)</b>

</code></p>
<p>Convert value in to value out by using linear interpolation</p>
<pre class='doc'> between point1 and point2 using formula y=mx + b&#xa; out = in*slope +</pre>
</dd>
<dt>execute</dt>
<dd><p class='sig'><code><em><em>public</em> <em>virtual</em> <em>override</em> </em><b>void execute()</b>

</code></p>
<p>Execute is called once every scan.</p>
</dd>
<dt>in</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float in</b>

</code></p>
</dd>
<dt>m01</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float m01</b>

</code></p>
</dd>
<dt>m12</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float m12</b>

</code></p>
</dd>
<dt>m23</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float m23</b>

</code></p>
</dd>
<dt>m34</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float m34</b>

</code></p>
</dd>
<dt>m45</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float m45</b>

</code></p>
</dd>
<dt>m56</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float m56</b>

</code></p>
</dd>
<dt>m67</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float m67</b>

</code></p>
</dd>
<dt>m78</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float m78</b>

</code></p>
</dd>
<dt>m89</dt>
<dd><p class='sig'><code><em><em>public</em> </em><b>float m89</b>

</code></p>
</dd>
<dt>out</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float out</b> [readonly]

</code></p>
</dd>
<dt>x0</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float x0</b> [config]

</code></p>
</dd>
<dt>x1</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float x1</b> [config]

</code></p>
</dd>
<dt>x2</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float x2</b> [config]

</code></p>
</dd>
<dt>x3</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float x3</b> [config]

</code></p>
</dd>
<dt>x4</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float x4</b> [config]

</code></p>
</dd>
<dt>x5</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float x5</b> [config]

</code></p>
</dd>
<dt>x6</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float x6</b> [config]

</code></p>
</dd>
<dt>x7</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float x7</b> [config]

</code></p>
</dd>
<dt>x8</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float x8</b> [config]

</code></p>
</dd>
<dt>x9</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float x9</b> [config]

</code></p>
</dd>
<dt>y0</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float y0</b> [config]

</code></p>
</dd>
<dt>y1</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float y1</b> [config]

</code></p>
</dd>
<dt>y2</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float y2</b> [config]

</code></p>
</dd>
<dt>y3</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float y3</b> [config]

</code></p>
</dd>
<dt>y4</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float y4</b> [config]

</code></p>
</dd>
<dt>y5</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float y5</b> [config]

</code></p>
</dd>
<dt>y6</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float y6</b> [config]

</code></p>
</dd>
<dt>y7</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float y7</b> [config]

</code></p>
</dd>
<dt>y8</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float y8</b> [config]

</code></p>
</dd>
<dt>y9</dt>
<dd><p class='sig'><code><em><em>public</em> <em>property</em> </em><b>float y9</b> [config]

</code></p>
</dd>
</dl>
<div class='nav'>
  <a href='../index.html'>Index</a> |
  <a href='../api.html'>Kits</a> |
  <a href='index.html'>control</a>
</div>
<div class='copyright'>Copyright &#169; 2009, Tridium, Inc.</div>
</body>
</html>
